.page {
    background: rgba(248, 248, 248, 1);
    min-height: 100vh;
    box-sizing: border-box;
}

.hospital {
    display: flex;
    align-items: center;
    padding: 16px 12px;
    font-size: 18px;
    font-weight: 500;
    color: rgba(51, 51, 51, 1);
    background: #fff;

    .img {
        width: 50px;
        height: 50px;
        border-radius: 100%;
        margin-right: 12px;
    }
}

.doctor {
    .img {
        width: 50px;
        height: 50px;
    }

    .info {
        .title {
            .name {
                font-size: 18px;
                font-weight: 500;
                color: rgba(51, 51, 51, 1);
                line-height: 18px;
            }

            .poster {
                font-size: 14px;
                font-weight: 400;
                color: rgba(51, 51, 51, 1);
                line-height: 14px;
            }
        }

        .tips {
            font-size: 10px;
            font-weight: 400;
            color: rgba(102, 102, 102, 1);
            margin-top: 6px;
            line-height: 10px;
        }
    }
}

.goods_box {
    flex-direction: column;
    align-items: flex-start;
    .goods_footer {
        width: 100%;
        text-align: right;
        padding: 12px 0 0 0;
        font-size: 13px;
        font-weight: 400;
        color: rgba(51, 51, 51, 1);
        border-top: 1px solid #eee;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-top:12px;

        .num {
            font-size: 16px;
            font-weight: 500;
            color: rgba(245, 63, 63, 1);
        }

        .activity_price {
            margin-left: 20px;
        }
    }
}

.goods {
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: space-between;
    // padding-bottom: 14px;

    .img {
        width: 89px;
        height: 50px;
        flex-shrink: 0;
        border-radius: 3px;
        margin-right: 0;
    }

    .info {
        flex: 1;
        margin-left:12px;

        .title {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;

            .name {
                font-size: 16px;
                font-weight: 500;
                color: rgba(51, 51, 51, 1);
            }

            .price {
                flex-shrink: 0;
                font-size: 16px;
                font-weight: 400;
                color: rgba(51, 51, 51, 1);
                margin-left:12px;

                .old {
                    font-size: 10px;
                    font-weight: 400;
                    color: rgba(102, 102, 102, 1);
                    text-decoration: line-through;
                }
            }
        }

        .tips {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 10px;
            font-weight: 400;
            color: rgba(153, 153, 153, 1);
            margin-top: 12px;
        }
    }
}

.book_box {
    background: #fff;
    // padding: 0 12px;
    margin-top: 9px;

    .cell {
        position: relative;
        display: flex;
        align-items: center;
        height: 46px;
        box-sizing: border-box;

        .name {
            font-size: 14px;
            font-weight: 400;
            color: rgba(0, 0, 0, 1);
            padding-left: 10px;
        }

        .required {
            position: relative;
        }

        .required:after {
            display: block;
            content: "*";
            color: #f00;
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
        }

        .input_box {
            margin-left: 10px;
            flex: 1;

            .a_input {
                width: 100%;
                border: 0;
                outline: none;
                font-size: 14px;
                font-weight: 400;
                color: rgba(0, 0, 0, 1);
            }
        }
    }

    .cell:after {
        display: block;
        content: "";
        height: 1px;
        position: absolute;
        background: #ccc;
        left: 0;
        right: 0;
        bottom: 0;
        transform: scaleY(0.5);
        opacity: 0.4;

    }

    .cell:last-child:after {
        display: none;
    }

    .van_cell {
        padding-left: 24px;
    }

    .van_cell:before {
        left: 12px;
    }
}

.footer {
    position: fixed;
    bottom: 24px;
    left: 0;
    right: 0;

    .tips {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 400;
        color: rgba(102, 102, 102, 1);

        .img {
            width: 11px;
            height: 11px;
            margin-right: 4px;
        }
    }

    .btn_group {
        margin-top: 16px;
        text-align: center;
        padding: 0 16px;

        .btn {
            width: 100%;
            height: 44px;
            border-radius: 183.5px;
            background: rgba(245, 63, 63, 1);
            border: 0;
            outline: none;

            font-size: 16px;
            font-weight: 500;
            color: rgba(255, 255, 255, 1);
        }

        .btn:hover {
            opacity: 0.8;
        }
    }
}